<?php
namespace App\Api\Controllers;

use App\Models\Order;
use App\Models\StocksOrder;
use App\Models\User;
use App\Api\Requests\UserRequest;
use Dingo\Api\Http\Request;
use App\Models\UserLog;
use SimpleSoftwareIO\QrCode\Facades\QrCode;
use Illuminate\Support\Facades\DB;
class StockOrderController extends Controller
{
    public function ksList(StocksOrder $stocksOrder){
            return $this->success($stocksOrder->orderBy('id','desc')->get());
   }

}